//
//  XSBrand.m
//  MeiLiYiChu
//
//  Created by mac on 16/2/25.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "XSBrand.h"

@implementation XSBrand
+(XSBrand *)getBrandWithNSDictionary:(NSDictionary *)dic
{
    XSBrand * brand =[[XSBrand alloc]init];
    brand.BrandTitle =[dic objectForKey: @"taobao_title"];
    brand.Brandpic_url =[dic objectForKey: @"pic_url"];
    
    return brand;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
//品牌排行
+(XSBrand *)getBrandShopWithNSDictionary:(NSDictionary *)dic
{
    XSBrand * brand =[[XSBrand alloc]init];
    [brand setValuesForKeysWithDictionary:dic];
    return brand;
}

@end
